package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.base.entity.AbstractAllEntity;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * 礼品卡赠卡记录
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_givevipcard")
@TableAlias("givevipcard")
@ApiModel(value="BusGivevipcard对象", description="礼品卡赠卡记录")
public class BusGivevipcard extends AbstractAllEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "givevipcardId", type = IdType.ASSIGN_ID)
    private Long givevipcardId;

    @ApiModelProperty(value = "卡原先所属人")
    private Long userId;

    @ApiModelProperty(value = "接收人姓名")
    private String receiveUserName;

    @ApiModelProperty(value = "接收人手机号")
    private String receivePhone;

    private Long userGoodsId;

    private String remark;


}
